﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000333 RID: 819
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CNHNJPOMCLD : IMessage<CNHNJPOMCLD>, IMessage, IEquatable<CNHNJPOMCLD>, IDeepCloneable<CNHNJPOMCLD>, IBufferMessage
	{
		// Token: 0x17000A97 RID: 2711
		// (get) Token: 0x060024A9 RID: 9385 RVA: 0x0006757F File Offset: 0x0006577F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CNHNJPOMCLD> Parser
		{
			get
			{
				return CNHNJPOMCLD._parser;
			}
		}

		// Token: 0x17000A98 RID: 2712
		// (get) Token: 0x060024AA RID: 9386 RVA: 0x00067586 File Offset: 0x00065786
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CNHNJPOMCLDReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000A99 RID: 2713
		// (get) Token: 0x060024AB RID: 9387 RVA: 0x00067598 File Offset: 0x00065798
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CNHNJPOMCLD.Descriptor;
			}
		}

		// Token: 0x060024AC RID: 9388 RVA: 0x0006759F File Offset: 0x0006579F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CNHNJPOMCLD()
		{
		}

		// Token: 0x060024AD RID: 9389 RVA: 0x000675A8 File Offset: 0x000657A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CNHNJPOMCLD(CNHNJPOMCLD other) : this()
		{
			this.iDJNPOONENE_ = other.iDJNPOONENE_;
			this.reward_ = ((other.reward_ != null) ? other.reward_.Clone() : null);
			this.scoreId_ = other.scoreId_;
			this.hAJEJEFLKJD_ = ((other.hAJEJEFLKJD_ != null) ? other.hAJEJEFLKJD_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060024AE RID: 9390 RVA: 0x0006761C File Offset: 0x0006581C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CNHNJPOMCLD Clone()
		{
			return new CNHNJPOMCLD(this);
		}

		// Token: 0x17000A9A RID: 2714
		// (get) Token: 0x060024AF RID: 9391 RVA: 0x00067624 File Offset: 0x00065824
		// (set) Token: 0x060024B0 RID: 9392 RVA: 0x0006762C File Offset: 0x0006582C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint IDJNPOONENE
		{
			get
			{
				return this.iDJNPOONENE_;
			}
			set
			{
				this.iDJNPOONENE_ = value;
			}
		}

		// Token: 0x17000A9B RID: 2715
		// (get) Token: 0x060024B1 RID: 9393 RVA: 0x00067635 File Offset: 0x00065835
		// (set) Token: 0x060024B2 RID: 9394 RVA: 0x0006763D File Offset: 0x0006583D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList Reward
		{
			get
			{
				return this.reward_;
			}
			set
			{
				this.reward_ = value;
			}
		}

		// Token: 0x17000A9C RID: 2716
		// (get) Token: 0x060024B3 RID: 9395 RVA: 0x00067646 File Offset: 0x00065846
		// (set) Token: 0x060024B4 RID: 9396 RVA: 0x0006764E File Offset: 0x0006584E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScoreId
		{
			get
			{
				return this.scoreId_;
			}
			set
			{
				this.scoreId_ = value;
			}
		}

		// Token: 0x17000A9D RID: 2717
		// (get) Token: 0x060024B5 RID: 9397 RVA: 0x00067657 File Offset: 0x00065857
		// (set) Token: 0x060024B6 RID: 9398 RVA: 0x0006765F File Offset: 0x0006585F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList HAJEJEFLKJD
		{
			get
			{
				return this.hAJEJEFLKJD_;
			}
			set
			{
				this.hAJEJEFLKJD_ = value;
			}
		}

		// Token: 0x060024B7 RID: 9399 RVA: 0x00067668 File Offset: 0x00065868
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CNHNJPOMCLD);
		}

		// Token: 0x060024B8 RID: 9400 RVA: 0x00067678 File Offset: 0x00065878
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CNHNJPOMCLD other)
		{
			return other != null && (other == this || (this.IDJNPOONENE == other.IDJNPOONENE && object.Equals(this.Reward, other.Reward) && this.ScoreId == other.ScoreId && object.Equals(this.HAJEJEFLKJD, other.HAJEJEFLKJD) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060024B9 RID: 9401 RVA: 0x000676EC File Offset: 0x000658EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.IDJNPOONENE != 0U)
			{
				num ^= this.IDJNPOONENE.GetHashCode();
			}
			if (this.reward_ != null)
			{
				num ^= this.Reward.GetHashCode();
			}
			if (this.ScoreId != 0U)
			{
				num ^= this.ScoreId.GetHashCode();
			}
			if (this.hAJEJEFLKJD_ != null)
			{
				num ^= this.HAJEJEFLKJD.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060024BA RID: 9402 RVA: 0x00067770 File Offset: 0x00065970
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060024BB RID: 9403 RVA: 0x00067778 File Offset: 0x00065978
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060024BC RID: 9404 RVA: 0x00067784 File Offset: 0x00065984
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.IDJNPOONENE != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.IDJNPOONENE);
			}
			if (this.reward_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.Reward);
			}
			if (this.ScoreId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.ScoreId);
			}
			if (this.hAJEJEFLKJD_ != null)
			{
				output.WriteRawTag(90);
				output.WriteMessage(this.HAJEJEFLKJD);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060024BD RID: 9405 RVA: 0x00067818 File Offset: 0x00065A18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.IDJNPOONENE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.IDJNPOONENE);
			}
			if (this.reward_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Reward);
			}
			if (this.ScoreId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScoreId);
			}
			if (this.hAJEJEFLKJD_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.HAJEJEFLKJD);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060024BE RID: 9406 RVA: 0x000678A0 File Offset: 0x00065AA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CNHNJPOMCLD other)
		{
			if (other == null)
			{
				return;
			}
			if (other.IDJNPOONENE != 0U)
			{
				this.IDJNPOONENE = other.IDJNPOONENE;
			}
			if (other.reward_ != null)
			{
				if (this.reward_ == null)
				{
					this.Reward = new ItemList();
				}
				this.Reward.MergeFrom(other.Reward);
			}
			if (other.ScoreId != 0U)
			{
				this.ScoreId = other.ScoreId;
			}
			if (other.hAJEJEFLKJD_ != null)
			{
				if (this.hAJEJEFLKJD_ == null)
				{
					this.HAJEJEFLKJD = new ItemList();
				}
				this.HAJEJEFLKJD.MergeFrom(other.HAJEJEFLKJD);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060024BF RID: 9407 RVA: 0x00067948 File Offset: 0x00065B48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060024C0 RID: 9408 RVA: 0x00067954 File Offset: 0x00065B54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 58U)
				{
					if (num == 32U)
					{
						this.IDJNPOONENE = input.ReadUInt32();
						continue;
					}
					if (num == 58U)
					{
						if (this.reward_ == null)
						{
							this.Reward = new ItemList();
						}
						input.ReadMessage(this.Reward);
						continue;
					}
				}
				else
				{
					if (num == 64U)
					{
						this.ScoreId = input.ReadUInt32();
						continue;
					}
					if (num == 90U)
					{
						if (this.hAJEJEFLKJD_ == null)
						{
							this.HAJEJEFLKJD = new ItemList();
						}
						input.ReadMessage(this.HAJEJEFLKJD);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04000EDC RID: 3804
		private static readonly MessageParser<CNHNJPOMCLD> _parser = new MessageParser<CNHNJPOMCLD>(() => new CNHNJPOMCLD());

		// Token: 0x04000EDD RID: 3805
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000EDE RID: 3806
		public const int IDJNPOONENEFieldNumber = 4;

		// Token: 0x04000EDF RID: 3807
		private uint iDJNPOONENE_;

		// Token: 0x04000EE0 RID: 3808
		public const int RewardFieldNumber = 7;

		// Token: 0x04000EE1 RID: 3809
		private ItemList reward_;

		// Token: 0x04000EE2 RID: 3810
		public const int ScoreIdFieldNumber = 8;

		// Token: 0x04000EE3 RID: 3811
		private uint scoreId_;

		// Token: 0x04000EE4 RID: 3812
		public const int HAJEJEFLKJDFieldNumber = 11;

		// Token: 0x04000EE5 RID: 3813
		private ItemList hAJEJEFLKJD_;
	}
}
